08. Exercise: Set Up Row and Column Locations
23 8 AAK Rows And Columns SC
Exercise
In this exercise you will set up row and column locations.
- Set up the coordinates for two columns.
private val columnOne = rectInset
private val columnTwo = columnOne + rectInset + clipRectRight
- Add the coordinates for each row, including the final row for the transformed text.
private val rowOne = rectInset
private val rowTwo = rowOne + rectInset + clipRectBottom
private val rowThree = rowTwo + rectInset + clipRectBottom
private val rowFour = rowThree + rectInset + clipRectBottom
private val textRow = rowFour + (1.5f * clipRectBottom)
- Run your app. The app should open with a blank white screen below the name of the app.